using MediatR;
using System;
using System.Collections.Generic;
using Work.API.Dtos;
using Work.ErrorCode;

namespace Work.API.Applications.Read.Commands
{
    /// <summary>
    /// 获取预约列表查询（支持多条件查询）
    /// </summary>
    public class GetAppointmentsQuery : IRequest<ApiResult<List<AppointmentListDto>>>
    {
        /// <summary>
        /// 卡号
        /// </summary>
        public string? CardNumber { get; set; }

        /// <summary>
        /// 患者姓名
        /// </summary>
        public string? PatientName { get; set; }

        /// <summary>
        /// 科室
        /// </summary>
        public string? Department { get; set; }

        /// <summary>
        /// 医生
        /// </summary>
        public string? DoctorName { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndDate { get; set; }

        /// <summary>
        /// 病历状态
        /// </summary>
        public string? RecordStatus { get; set; }
    }
}








